import requests

from Testtongzhi.venv import config


class loginAPI():
    def __init__(self):
        self.login_url= config.BASE_URL + "/login"

    def login_all(self,login_data):
        return requests.post(url=self.login_url,data=login_data)
